ComponentOne ASP.NET MVC Controls
TemplateBind Method (ServiceBuilder<TControl,TBuilder>)

C1.Web.Mvc.Fluent Namespace > ServiceBuilder<TControl,TBuilder> Class : TemplateBind Method
The specified property name.
The specified item name in DataContext.
When the builder works in template mode, bind the property which name is specified to some item which name is specified.
Syntax
'Declaration
 
Public Overridable Function TemplateBind( _
   ByVal propertyName As String, _
   ByVal boundName As String _
) As TBuilder
public virtual TBuilder TemplateBind( 
   string propertyName,
   string boundName
)

Parameters

propertyName
The specified property name.
boundName
The specified item name in DataContext.

Return Value

Current builder.
Remarks
It only works in template mode.
See Also

Reference

ServiceBuilder<TControl,TBuilder> Class
ServiceBuilder<TControl,TBuilder> Members